<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */
function theme_widget_index_logos(&$setting,&$render){
	if($setting['pic']){
		$num = count($setting['pic']);
		$newarr = array_chunk($setting['pic'],2);
		$setting['newarr'] = $newarr;
	}
    return $setting;
}
?>